#include <sstream>
#include <iomanip>
#include <iostream>

class Model
{
public:
	//		std::string get_logLine();
	//		std::string getEntry();
	//		std::string getCallnum();
	std::string name() const;
	std::string type() const;
	std::string retractableGear() const;
	std::string horsePower() const;
	std::string tailWheel() const;
	int numberPlanes() const;
	std::string firstDate() const;
	std::string lastDate() const;
	double flights() const;
	double dayHours() const;
	double nightHours() const;        
	double ifrHours() const;
	double gadHours() const;
	double xcHours() const;
	double cfiHours() const;
	double dualHours() const;
	double picHours() const;
	double sicHours() const;
	double safetyHours() const;

	void setModel(std::string newType, std::string newModel, std::string newRg, std::string newHp, std::string newTw);
	void addLogEntry(std::string Date, int PlaneIndex, double newHours, double newNight, double newIfr, double newGad, double newXc, double newCfi,
						double newDual, double newPic, double newSic, double newSft);

 	 
	Model();
	Model(std::string name, std::string type, std::string rg, std::string hp, std::string tw);
	~Model();

private:
	//		std::string _logLine;
	//		std::string Entry;
	//		std::string Callnum;
	std::string _name;
	std::string _type;
	std::string _retractableGear;
	std::string _horsePower;
	std::string _tailWheel;
	int _numberPlanes;
	//		int Sequence;
	std::string _firstDate;
	std::string _lastDate;
	double _flights;
	double _dayHours;
	double _nightHours;
	double _ifrHours;
	double _gadHours;
	double _xcHours;
	double _cfiHours;
	double _dualHours;
	double _picHours;
	double _sicHours;
	double _safetyHours;
	//		double RgHours;
	//		double HpHours;
	//		double TwHours;

};